package org.example;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * 涉及生命周期的概念
 * @author sxt
 * @version 1.0
 * @description TODO
 * @date 2023/8/2 22:38
 */
@Component
public class TestApplicationRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("服务启动...");
    }
}
